package com.ykdl.member.kid.util;

import android.content.Context;


public class MyUser {
	private static AccessTokenKeeper mAccessTokenManager;

	public MyUser(Context context) {
		if (mAccessTokenManager == null) {
			mAccessTokenManager = new AccessTokenKeeper(context);
		}
	}

	/**
	 * 获取AccessToken
	 * 
	 * @return AccessToken
	 */
	public String getAccessToken() {
		return mAccessTokenManager.getmAccessToken();
	}
	/**
	 * 返回当前是否存储AccessToken
	 * 
	 * @return true-存在 false-不存在
	 */
	public boolean isAccessTokenExist() {
		return mAccessTokenManager.isAccessTokenExist();
	}
	public boolean iAnonymousToken() {
		return mAccessTokenManager.getmisAnonymous();
	}
	
}
